package cn.bgs.service;

import cn.bgs.pojo.Dormitory;
import com.github.pagehelper.PageInfo;

public interface DormitoryService {

    PageInfo<Dormitory> findAll(Integer pageNum, Integer pageSize);

    void deleteDor(Integer pkId);

    Dormitory selectByPrimaryKey(Integer pkId);

    int updateByPrimaryKeySelective(Dormitory record);

    PageInfo<Dormitory> queryDor(Integer pageNum, Integer pageSize, Dormitory dormitory);
}
